﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Problem2
{
    class Class1
    {
       
            enum order
            {
                NewOrder,
                Delivered,
                Checked,
                Evaluation
            }
            public enum game
            {
                哈密瓜,
                西瓜,
                奇异果,
                香蕉,
                苹果,
                草莓,
                葡萄
            }
            public enum RPG
            {
                战士,
                法师,
                精灵
            }
            static void Main(string[] args)
            {
                order state = order.Delivered;
                Console.WriteLine((int)state);
                Game(game.哈密瓜);
                Game(game.奇异果);
                Game(game.苹果);
                Game(game.草莓);
                Game(game.葡萄);
                Game(game.西瓜);
                Game(game.香蕉);
                RPGs(RPG.战士);
                RPGs(RPG.法师);
                RPGs(RPG.精灵);


            }



            public static void Game(game F)
            {
                switch (F)
                {
                    case game.哈密瓜:
                        Console.WriteLine("哈密瓜的分数是" + 6);
                        break;
                    case game.奇异果:
                        Console.WriteLine("奇异果的分数是" + 5);
                        break;
                    case game.苹果:
                        Console.WriteLine("苹果的分数是" + 4);
                        break;
                    case game.草莓:
                        Console.WriteLine("草莓的分数是" + 3);
                        break;
                    case game.葡萄:
                        Console.WriteLine("葡萄的分数是" + 2);
                        break;
                    case game.西瓜:
                        Console.WriteLine("西瓜的分数是" + 1);
                        break;
                    case game.香蕉:
                        Console.WriteLine("香蕉的分数是" + 7);
                        break;
                }
            }
            public static void RPGs(RPG g)
            {

                switch (g)
                {
                    case RPG.战士:
                        Console.WriteLine("战士的技能：碎石打击、烈焰锚钩、战斗咆哮");
                        break;
                    case RPG.法师:
                        Console.WriteLine("法师的技能：巨浪冲击、元素突击、复仇杀戮");
                        break;
                    case RPG.精灵:
                        Console.WriteLine("精灵的技能：减速陷阱、能量浪潮、旋风剑舞");
                        break;

                }
            }
        }
    }


